package com.sq.abstractClass;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.util.function.Function;

public abstract class UpLabel extends JPanel {
    protected JLabel font = new JLabel();
    protected JLabel jLabel1 = new JLabel();
    protected JLabel fileIsChange = new JLabel();
    public JLabel time = new JLabel();

    protected UpLabel() {
        setLayout(new GridLayout(1, 4, 0, 0));
        add(font);
        add(jLabel1);
        add(fileIsChange);
        add(time);
    }

    public abstract void setFontString(Font font);;
    public abstract void setFileIsChange(String Massage);
}
